package com.wowangz.cms.systemmanage.preferential.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户优惠码数据实体 (tbl_preferential_code)
 * @ClassName: TblPreferentialCode  
 * @author Green.Long
 * @date 2016年8月16日 下午3:08:52
 */
@SuppressWarnings("serial")
public class TblPreferentialCode implements Serializable {

	/**
	 * ID
	 */
	private String id;
	
	/**
	 * 优惠码
	 */
	private String code;
	
	/**
	 * 优惠类型(ExchangeTimes2,ExchangePermission_TL3,MoneyDiscount5,PaymentAmount7)
	 */
	private String preferentialType;
	
	/**
	 * 最大优惠额度
	 */
	private String maxLimit;
	
	/**
	 * 优惠比例
	 */
	private Integer preferentialRatio;
	
	/**
	 * 介质
	 */
	private String medium;
	
	/**
	 * 渠道-数据字典(System,HeavyBuyer,Test)
	 */
	private String channel;
	
	/**
	 * 状态(InUse,UseUp)
	 */
	private String dataStatus;
	
	/**
	 * 创建时间
	 */
	private Date createTime;
	
	/**
	 * 创建者
	 */
	private String creater;
	
	/**
	 * 使用时间
	 */
	private Date usedTime;
	
	/**
	 * 使用者
	 */
	private String userId;
	
	/**
	 * 使用结果
	 */
	private String usedResult;
	
	/**
	 * 过期时间
	 */
	private Date deadlineTime;
	
	/**
	 * 实际过期时间
	 */
	private Date actualDeadlineTime;
	
	/**
	 * 过期操作者
	 */
	private String deadlineEditer;
	
	//扩展属性
	/**
	 * 生成优惠码数量
	 */
	private Integer num;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getPreferentialType() {
		return preferentialType;
	}

	public void setPreferentialType(String preferentialType) {
		this.preferentialType = preferentialType;
	}

	public String getMaxLimit() {
		return maxLimit;
	}

	public void setMaxLimit(String maxLimit) {
		this.maxLimit = maxLimit;
	}

	public Integer getPreferentialRatio() {
		return preferentialRatio;
	}

	public void setPreferentialRatio(Integer preferentialRatio) {
		this.preferentialRatio = preferentialRatio;
	}

	public String getMedium() {
		return medium;
	}

	public void setMedium(String medium) {
		this.medium = medium;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(String dataStatus) {
		this.dataStatus = dataStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public Date getUsedTime() {
		return usedTime;
	}

	public void setUsedTime(Date usedTime) {
		this.usedTime = usedTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUsedResult() {
		return usedResult;
	}

	public void setUsedResult(String usedResult) {
		this.usedResult = usedResult;
	}

	public Date getDeadlineTime() {
		return deadlineTime;
	}

	public void setDeadlineTime(Date deadlineTime) {
		this.deadlineTime = deadlineTime;
	}

	public Date getActualDeadlineTime() {
		return actualDeadlineTime;
	}

	public void setActualDeadlineTime(Date actualDeadlineTime) {
		this.actualDeadlineTime = actualDeadlineTime;
	}

	public String getDeadlineEditer() {
		return deadlineEditer;
	}

	public void setDeadlineEditer(String deadlineEditer) {
		this.deadlineEditer = deadlineEditer;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}
	
	
}